package OOPS;

class Test27 {
	public static void main(String st[]) {
		final int arr[] = new int[5];
		for (int i = 0; i < arr.length; i++) {
			System.out.println(arr[i]);
		}
		arr[0] = 12;
		arr[3] = 23;
		System.out.println("***************************");
		for (int i = 0; i < arr.length; i++) {
			System.out.println(arr[i]);
		}
		// arr=null;
		int arr2[] = { 12, 34, 54, 23 };
		System.out.println("length\t:" + arr2.length);
		for (int i = 0; i < arr2.length; i++) {
			System.out.println(arr2[i]);
		}
		int arr3[] = { 142, 354, 564, 2233 };
		System.out.println("length\t:" + arr3.length);
		int arr4[] = { 112, 134, 154, 123 };
		System.out.println("length\t:" + arr4.length);
		for (int i = 0; i < arr4.length; i++) {
			System.out.println(arr4[i]);
		}
		int arr6[];
		// arr6={12,43};
		// System.out.println(arr3[4]);
		// System.out.println(arr3[-1]);
	}
}